﻿@using MvcSample.Models;
@model StudentOutputDto
@{
    ViewData["Title"] = "详情";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>@ViewData["Title"]</h2>

<dl>
    <dt asp-for="@Model.Id"></dt>
    <dd >@Model.Id</dd>
</dl>
<dl>
    <dt asp-for="@Model.Name"></dt>
    <dd>@Model.Name</dd>
</dl>
<dl>
    <dt asp-for="@Model.Age"></dt>
    <dd>@Model.Age</dd>
</dl>
<dl>
    <dt asp-for="@Model.Gender"></dt>
    <dd>@Model.Gender</dd>
</dl>
<a asp-action="Index" >回到列表</a>